@extends('admin.layout.main')

@section('title')
    添加权限
@endsection

@section('content')
    @include('admin.layout.error')
    <form action="{{url("admin/permissions/doCreate")}}" method="post" class="form form-horizontal" id="form-admin-role-add">
        {{csrf_field()}}
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>权限名称：</label>
            <div class="formControls col-xs-8 col-sm-9">
                <input type="text" class="input-text" value="" placeholder="" name="name" datatype="*4-16" nullmsg="名称不能为空">
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>描述：</label>
            <div class="formControls col-xs-8 col-sm-9">
                <input type="text" class="input-text" value="" placeholder=""  name="description" datatype="*4-16" nullmsg="描述不能为空">
            </div>
        </div>


        <div class="row cl">
            <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
                <button type="submit" class="btn btn-success radius" ><i class="icon-ok"></i> 确定</button>
            </div>
        </div>
    </form>


@endsection